package com.ITArmy.service;

import com.ITArmy.common.ServerResponse;

import javax.servlet.http.HttpServletRequest;

public interface CollectionService {

    //用户收藏博客
    ServerResponse collectionBlog(HttpServletRequest req, long blogId);

    //用户收藏连载
    ServerResponse collectionSerialize(HttpServletRequest req, long serializeId);

    //根据用户id显示用户所有的博客收藏
    ServerResponse getBlogCollection(HttpServletRequest request);

    //根据用户的id显示所有的连载的收藏
    ServerResponse getSerializeCollection(HttpServletRequest request);

    //用户删除收藏的博客
    ServerResponse deleteBlogCollection(HttpServletRequest request,long blogId);

    //用户删除收藏得连载
    ServerResponse deleteSerializeCollection(HttpServletRequest request,long SerializeId);
}
